Skip to content

v7: TS-native, oxlint/oxfmt, Tailwind v4, namedRoute builder#13

Merged
maxholman merged 10 commits intomasterfrom
v7
Mar 18, 2026
Merged

v7: TS-native, oxlint/oxfmt, Tailwind v4, namedRoute builder#13
maxholman merged 10 commits intomasterfrom
v7

Conversation

@maxholman
Copy link
Contributor

Summary

  • Auto-detect Navigation APIuseNavApi defaults to feature detection instead of true
  • namedRoute builder — new .searchParams<T>() chainable API for typed query params
  • ESLint/Prettier → oxlint/oxfmt — faster linting and formatting
  • Tailwind v4 — replaces @block65/react-design-system in examples
  • TS-native publishing — no build step, no emit, ship .ts directly
  • Project cleanup — examples moved to top level, vitest type tests, updated CI workflows, deps bumped (React 19, TS 6, Vitest 4, Vite 8)

Test plan

  • tsc --noEmit passes
  • vitest run --typecheck — 21 tests (14 runtime + 7 type)
  • View transitions slide animations working
  • pnpm pack --dry-run — clean publish contents (lib/, src/, no examples)

🤖 Generated with Claude Code

maxholman and others added 10 commits March 18, 2026 14:02
Hardcode node 24, drop .node-version, add provenance and attestations
to deploy workflow.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Default useNavApi to feature detection instead of hardcoded true.
Also fix ViewTransition polyfill missing 'types' property and
rename withNavigation parameter for clarity.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…tests

Tests now import from @block65/mrr and @block65/mrr/named-route
instead of relative paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove eslint, prettier, and all associated plugins/configs.
Add oxlint and oxfmt. Remove all eslint-disable comments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace generic-ordering workaround with a chainable builder:
  namedRoute('/search').searchParams<{ q: string }>()

Add vitest type-level tests for the new API.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace @block65/react-design-system with Tailwind v4. Move examples
to top level. Separate vite dev config from vitest config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TS-native publishing — no emit, no bundlesize. Split vitest config
from vite dev config. Update all dependencies including React 19,
TypeScript 6, Vitest 4, Vite 8.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…tion-setup@v5)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@maxholman maxholman merged commit a446b35 into master Mar 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant